package com.yanqu.road.server.protocol;

import java.io.*;

public class OutPutErrorCode {
    public static void main(String[] args) throws IOException {
        readFile1(new File(new File("").getCanonicalPath() + File.separator + "TempServer\\src\\com\\yanqu\\road\\server\\protocol\\GameErrorCode.java"));
    }

    private static void readFile1(File fin) throws IOException {

        FileInputStream fis = new FileInputStream(fin);

        BufferedReader br = new BufferedReader(new InputStreamReader(fis));

        String line = null;

        while ((line = br.readLine()) != null) {

            System.out.println(line);

        }
        br.close();

    }
}
